import React, { Component } from 'react';
import {HashRouter as Router,Route,Link,Redirect} from "react-router-dom"

const Home = ()=>{
  return <h1>
    主页
  </h1>
}
class App extends Component {
  render() {
    return (
      <Router>
        <Route path="/" render={()=><Redirect to="/home/user"></Redirect>}></Route>
      </Router>
    );
  }
}

export default App;
